package com.swu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 疾病字典表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("disease_dictionary")
@Schema(name = "DiseaseDictionary", description = "疾病字典表")
public class DiseaseDictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "疾病ID（唯一标识）")
    @TableId(value = "disease_id", type = IdType.AUTO)
    private Integer diseaseId;

    @Schema(description = "疾病编码")
    private String diseaseCode;

    @Schema(description = "疾病名称")
    private String diseaseName;

    @Schema(description = "拼音码")
    private String pinyinCode;

    @Schema(description = "五笔码（如exwmeu）")
    private String wubiCode;

    @Schema(description = "长度（如 21）")
    private Integer length;


}
